home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- BorderStyle = 1 'Fixed Single
- Caption = "Jeff's Wave Playing Experiment"
- ClientHeight = 4545
- ClientLeft = 1140
- ClientTop = 1515
- ClientWidth = 4365
- Height = 4950
- Icon = "WAVEPLAY.frx":0000
- Left = 1080
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 4545
- ScaleWidth = 4365
- Top = 1170
- Width = 4485
- Begin VB.CommandButton Command11
- Caption = "&Quit"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 1080
- TabIndex = 10
- Top = 3960
- Width = 1935
- End
- Begin VB.CommandButton Command10
- Caption = "Elvis' &Favorite Saying"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 2160
- TabIndex = 8
- Top = 2640
- Width = 2055
- End
- Begin VB.CommandButton Command9
- Caption = "Clin&t's Big Question?"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 2160
- TabIndex = 7
- Top = 2040
- Width = 2055
- End
- Begin VB.CommandButton Command8
- Caption = "&Good Help?"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 2160
- TabIndex = 6
- Top = 1440
- Width = 2055
- End
- Begin VB.CommandButton Command7
- Caption = "&What was That?"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 2160
- TabIndex = 5
- Top = 840
- Width = 2055
- End
- Begin VB.CommandButton Command6
- Caption = "C&lint's Intro!"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 120
- TabIndex = 4
- Top = 3240
- Width = 1815
- End
- Begin VB.CommandButton Command5
- Caption = "&Clint's Challenge"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 120
- TabIndex = 3
- Top = 2640
- Width = 1815
- End
- Begin VB.CommandButton Command4
- Caption = "&Barney Fife's File"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 120
- TabIndex = 1
- Top = 1440
- Width = 1815
- End
- Begin VB.CommandButton Command3
- Caption = "&Missing Cursor"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 120
- TabIndex = 2
- Top = 2040
- Width = 1815
- End
- Begin VB.CommandButton Command2
- Caption = "Elvis' &Demise"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 2160
- TabIndex = 9
- Top = 3240
- Width = 2055
- End
- Begin VB.CommandButton Command1
- Caption = "&I'm OK, Your OK"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 120
- TabIndex = 0
- Top = 840
- Width = 1815
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- Caption = $"WAVEPLAY.frx":0442
- ForeColor = &H00FF0000&
- Height = 615
- Left = 120
- TabIndex = 11
- Top = 120
- Width = 4095
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- 'Basic Wave Playing by J W Lehman
- Option Explicit
- Dim Soundname As String
- Dim wFlags As Integer
- Dim x As Integer
- Dim Location As String
- Private Sub Command1_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\OK.WAV" 'Location + "\" + "ok.wav"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command10_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\UHUH.WAV" 'Location + "\" + "ok.wav"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command11_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\gcrowd.WAV"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command2_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\DONUTS.WAV"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command3_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\FINDCURSOR.WAV"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command4_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\FINDFILE.WAV"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command5_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\IKNOW.WAV"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command6_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\IWANT.WAV"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command7_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\OHMY.WAV" 'Location + "\" + "ok.wav"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command8_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\OPENHELP.WAV" 'Location + "\" + "ok.wav"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Command9_Click()
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\SEEHOW.WAV" 'Location + "\" + "ok.wav"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
- Private Sub Form_Load()
- Move (Screen.Width - Me.Width) / 2, (Screen.Height - Me.Height) / 2
- Location = CurDir()
- Soundname$ = "c:\VB\WAVEPLAY\START.WAV"
- wFlags% = SND_ASYNC Or SND_NODEFAULT
- x% = sndPlaySound(Soundname$, wFlags%)
- End Sub
-